package net.togogo.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/*@ResponseBody
@Controller
@RestController 组合注解
*/
@RestController
public class HelloController {

    @RequestMapping("/hello")
    public String hello(){
        return "hello qdd!";
    }
}
